﻿using System;
using System.Data;
using System.Text;
using System.Collections.Generic;
using VeMayBayDTO;

namespace VeMayBayDAO
{
   public  class SanBayDAO
    {
       public static List<SanBayDTO> GetSanbayAll()
       {
           List<SanBayDTO> list = new List<SanBayDTO>();
           return list;
       }

       public static DataTable GetSanbay()
       {
           string query = "select masanbay,tensanbay from sanbay";
           DataTable data = DataProvider.ExecQuery(query);
           DataTable dt = new DataTable();
           dt = data;
           return dt;
       }
       public static SanBayDTO GetSanbayById(int id)
       {
           SanBayDTO sb = new SanBayDTO();
           
           return sb;
       }
       public static bool ThemSanBay(SanBayDTO sb)
       {
           return true;
       }
       public static bool CapNhat(SanBayDTO sb)
       {
           return true;
       }
       public static bool XoaSanBay(string id)
       {
           return true;
       }
    }
}
